package com.example.admin.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.example.admin.R;
import com.example.admin.SQLite.BaoMing;
import com.example.admin.SQLite.Complaint;
import com.example.admin.SQLite.Payment;

public class AdminTab5dapter extends BaseQuickAdapter<BaoMing, BaseViewHolder> {

    public AdminTab5dapter() {
        super(R.layout.item_tab5);
    }

    @Override
    protected void convert(BaseViewHolder helper, BaoMing str) {
        helper.setText(R.id.tv1, str.title)
                .setText(R.id.tv2, str.Num)
                .setText(R.id.tv3, str.CreateData)
         .addOnClickListener(R.id.tv4).addOnClickListener(R.id.tv5);

    }

}